package com.wdy.golden.tinysql.mapping;

import java.util.List;

import com.wdy.golden.tinysql.enmus.XmlNodeType;
import com.wdy.golden.tinysql.util.BaseSerializable;

/**  
 * @author Dongye_Wu
 * @version: 1.0.0
 * @Description: TODO
 * @date 2020年4月9日 下午8:42:23 
 */
public class Script extends BaseSerializable {
	private static final long serialVersionUID = 1L;

	private String method;

	private String resultMapRef;
	/**
	 * elemnet node, or text node
	 */
	private XmlNodeType nodeType;
	/**
	 * text node content
	 */
	private String sqlScript;
	/**
	 * element node contents
	 */
	private List<ScriptContent> contents;
	
	public String getMethod() {
		return method;
	}
	public void setMethod(String method) {
		this.method = method;
	}
	public String getResultMapRef() {
		return resultMapRef;
	}
	public void setResultMapRef(String resultMapRef) {
		this.resultMapRef = resultMapRef;
	}
	public XmlNodeType getNodeType() {
		return nodeType;
	}
	public void setNodeType(XmlNodeType nodeType) {
		this.nodeType = nodeType;
	}
	public String getSqlScript() {
		return sqlScript;
	}
	public void setSqlScript(String sqlScript) {
		this.sqlScript = sqlScript;
	}
	public List<ScriptContent> getContents() {
		return contents;
	}
	public void setContents(List<ScriptContent> contents) {
		this.contents = contents;
	}
	
}
